﻿using QG.FrontDesk.Core;
using QG.FrontDesk.DAL.IRepository;
using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.DAL.Repository
{
    public class DevelopmentPhaseRepository: IDevelopmentPhaseRepository
    {
        /// <summary>
        /// 获取所有公司发展阶段
        /// </summary>
        /// <returns></returns>
        public List<DevelopmentPhase> GetDevelopmentPhases()
        {
            string sql = "SELECT * FROM developmentPhase";
            return DapperDBHelper<DevelopmentPhase>.QueryList(sql, null);
        }

    }
}
